package org.corey.wyp.control
{
	import com.adobe.cairngorm.control.FrontController;
	
	import org.corey.wyp.command.ApplicationInitCommand;
	import org.corey.wyp.command.EditSpecialCalendarCommand;
	import org.corey.wyp.command.FinanceManagerCommand;
	import org.corey.wyp.command.MonthAccountShowCommand;
	import org.corey.wyp.command.MonthCurveShowCommand;
	import org.corey.wyp.command.MonthSettingSaveCommand;
	import org.corey.wyp.command.MonthSettingShowCommand;
	import org.corey.wyp.command.SearchOldAccountCommand;
	import org.corey.wyp.command.SettingTemplateGetterCommand;
	import org.corey.wyp.command.SettingTemplateSaveCommand;
	import org.corey.wyp.command.ShowMonthDatailAccountCommand;
	import org.corey.wyp.command.TodayAccountItemAddCommand;
	import org.corey.wyp.command.TodayAccountItemDeleteCommand;
	import org.corey.wyp.event.ApplicationInitEvent;
	import org.corey.wyp.event.EditSpecialCalendarEvent;
	import org.corey.wyp.event.FinanceManagerEvent;
	import org.corey.wyp.event.MonthAccountShowEvent;
	import org.corey.wyp.event.MonthCurveShowEvent;
	import org.corey.wyp.event.MonthSettingSaveEvent;
	import org.corey.wyp.event.MonthSettingShowEvent;
	import org.corey.wyp.event.SearchOldAccountEvent;
	import org.corey.wyp.event.SettingTemplateGetterEvent;
	import org.corey.wyp.event.SettingTemplateSaveEvent;
	import org.corey.wyp.event.ShowMonthDatailAccountEvent;
	import org.corey.wyp.event.TodayAccountItemAddEvent;
	import org.corey.wyp.event.TodayAccountItemDeleteEvent;
	
	public class ProperityController extends FrontController
	{
		public function ProperityController()
		{
			addCommand(FinanceManagerEvent.TYPE,FinanceManagerCommand);
			addCommand(TodayAccountItemAddEvent.TYPE,TodayAccountItemAddCommand);
			addCommand(TodayAccountItemDeleteEvent.TYPE,TodayAccountItemDeleteCommand);
			addCommand(SearchOldAccountEvent.TYPE,SearchOldAccountCommand);
			addCommand(ShowMonthDatailAccountEvent.TYPE,ShowMonthDatailAccountCommand);
			addCommand(ApplicationInitEvent.TYPE,ApplicationInitCommand);
			addCommand(MonthCurveShowEvent.TYPE,MonthCurveShowCommand);
			addCommand(MonthAccountShowEvent.TYPE,MonthAccountShowCommand);
			addCommand(MonthSettingShowEvent.TYPE,MonthSettingShowCommand);
			addCommand(MonthSettingSaveEvent.TYPE,MonthSettingSaveCommand);
			addCommand(SettingTemplateSaveEvent.TYPE,SettingTemplateSaveCommand);
			addCommand(SettingTemplateGetterEvent.TYPE,SettingTemplateGetterCommand);
			addCommand(EditSpecialCalendarEvent.TYPE,EditSpecialCalendarCommand);
		}
	}
}